<?php
namespace iBrand\Component\Recharge\Listeners;

use Carbon\Carbon;
use iBrand\Component\Point\Repository\PointRepository;

class RechargeEventListener
{

    protected $pointRepository;

    public function __construct(PointRepository $pointRepository)
    {
        $this->pointRepository = $pointRepository;
    }

    public function subscribe($events)
    {
        $events->listen(
            'user.recharge.point',
            'iBrand\Component\Recharge\Listeners\PointEventListener'
        );

        $events->listen(
            'user.recharge.coupon',
            'iBrand\Component\Recharge\Listeners\CouponEventListener'
        );

    }
}